import unittest
def add(x,y):
    return x+y
class TestAdd(unittest.TestCase):
    def setUp(self):
        print("----setUp------")
    def tearDown(self):
        print("----tearDown------")
    @classmethod
    def setUpClass(self):
        print("----setUpClass------")
    @classmethod
    def tearDownClass(self):
        print("----tearDownClass------")
    def test01_add(self):
        res01=add(10,20)
        self.assertEqual(30,res01)
    def test02_add(self):
        res02=add(-10,10)
        self.assertEqual(0,res02)